package com.ty.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ty.common.annotation.Excel;
import com.ty.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 教练对象 coach
 *
 * @author
 * @date 2024-05-26
 */
public class Coach extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 驾照类型 A1、A2、A3、B1、B2、C1、C2、C3、C4、C5、D、E、F、M、N、P */
    @Excel(name = "驾照类型 A1、A2、A3、B1、B2、C1、C2、C3、C4、C5、D、E、F、M、N、P")
    private String drivingLicenseType;

    /** 教练简介 */
    @Excel(name = "教练简介")
    private String introduction;

    private List<String> drivingLicenseTypeList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public String getGender()
    {
        return gender;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setDrivingLicenseType(String drivingLicenseType)
    {
        this.drivingLicenseType = drivingLicenseType;
    }

    public String getDrivingLicenseType()
    {
        return drivingLicenseType;
    }
    public void setIntroduction(String introduction)
    {
        this.introduction = introduction;
    }

    public String getIntroduction()
    {
        return introduction;
    }

    public List<String> getDrivingLicenseTypeList() {
        return drivingLicenseTypeList;
    }

    public void setDrivingLicenseTypeList(List<String> drivingLicenseTypeList) {
        this.drivingLicenseTypeList = drivingLicenseTypeList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("gender", getGender())
            .append("phone", getPhone())
            .append("drivingLicenseType", getDrivingLicenseType())
            .append("introduction", getIntroduction())
            .toString();
    }
}
